package com.homeparking.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.homeparking.common.annotation.Excel;
import com.homeparking.common.core.domain.BaseEntity;

/**
 * 页面轮播图对象 img_swiper
 * 
 * @author liuyangyang
 * @date 2025-07-12
 */
public class ImgSwiper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片ID */
    private Long imgId;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String url;

    /** 图片描述 */
    @Excel(name = "图片描述")
    private String title;

    /** 图片类型 */
    @Excel(name = "图片类型")
    private Long type;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 状态0停用1启用 */
    @Excel(name = "状态0停用1启用")
    private String status;

    /** 0正常1删除 */
    private String delFlag;

    public void setImgId(Long imgId) 
    {
        this.imgId = imgId;
    }

    public Long getImgId() 
    {
        return imgId;
    }

    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("imgId", getImgId())
            .append("url", getUrl())
            .append("title", getTitle())
            .append("type", getType())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
